package com.ophiux.utils.parser.xml;

import com.ophiux.utils.exception.OphiuxApiException;
import com.ophiux.utils.parser.IConvert;
import com.ophiux.utils.parser.IOphiuxApiWriter;

public class OphiuxApiXMLWriter<T> implements IOphiuxApiWriter<T> {
	@Override
	public String writer(T obj) throws OphiuxApiException {
		IConvert xmlConverter = new XmlConverter();
		return xmlConverter.entityToString(obj);
	}

}
